package com.smile67.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author smile67
 * @since 2023-09-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("table_insecticidal_lamp")
@ApiModel(value="InsecticidalLamp对象", description="")
public class InsecticidalLamp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "设备类型(A-有通讯板 B-无通讯板)")
    private String equipmentType;

    @ApiModelProperty(value = "设备管理对应表的id")
    private Long deviceManagementId;

    @ApiModelProperty(value = "地址簿表对应的id")
    private Integer addressId;

    @ApiModelProperty(value = "电流	")
    private String current;

    @ApiModelProperty(value = "电压")
    private String voltage;

    @ApiModelProperty(value = "温度")
    private String temperature;

    @ApiModelProperty(value = "湿度")
    private String humidity;

    @ApiModelProperty(value = "是否数据异常(0-异常 1-正常)")
    private Integer isAbnormal;

    @ApiModelProperty(value = "是否开灯(0-关灯 1-开灯)	")
    private Integer isLight;

    @ApiModelProperty(value = "是否在线(0-正常 1-离线 2-在线)	")
    private Integer isOnline;

    @ApiModelProperty(value = "定位状态(0-无效 1-卫星定位 2-基站定位)	")
    private Integer localMode;

    @ApiModelProperty(value = "工作模式(1-自由模式 2-时间控制)	")
    private Integer workingModel;


}
